<script type="text/template" id="users-temp">
{{each userList}}
<tr data-id="{{$value._id}}">
    <td class="text-center"><input type="checkbox"></td>
    <td class="text-center"><img class="avatar" src="{{$value.avatar}}"></td>
    <td>{{$value.email}}</td>
    <td>{{$value.nickName}}</td>
    <td>{{$value.status==1?"激活":"未激活"}}</td>
    <td>{{$value.role}}</td>
    <td class="text-center">
        <button href="javascript:;" class="btn edit btn-default btn-xs">编辑</button>
        <button href="javascript:;" class="btn del btn-danger btn-xs">删除</button>
    </td>
</tr>
{{/each}}
</script>